Adding Alarm Pages
To create separate alarm pages for each alarm type in the project:
- In Power Operation Studio, click Visualization
> Menu Configuration.
- In the Menu Command line, add the Cicode method that will open the page:
PLSDspShowAlarm(INT nType)
Where:
nType = the type of alarm (e.g., 1=unacknowledged, 3=disabled)
Example (for disabled alarms): PLSDspShowAlarm(3)
For more information, on alarm types, see AlarmDsp in the Cicode Programming Reference help file.
TIP: The PLS_Example project also has several examples on how to add each alarm page to your project. With the PLS_Example project active in Power Operation Studio, click Visualization > Menu Configuration. You will see all active alarms in a page named "Alarm Log" with AlarmType=0.